home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-02-10 | 1.1 KB | 52 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="1"
- "COUNT"="1"
- "UIPATH 1"="Program Options\Built in Windows Apps\Windows Media Player"
- "UIPATH 2"="Internet\Windows Media Player"
- "NAME"="Window Title"
- "LANGUAGE"="VBScript"
- "VERSION"="1.22"
- "TEXT 1"="Title"
- "DESCRIPTION 1"="You can change the title of the WMP window here."
- "DESCRIPTION 2"="To have to original title again, clear the field and press "Apply"."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
- sPath="HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\"
- sValue="TitleBar"
-
- Sub Plugin_Initialize
- s=RegReadValue(sPath & sValue)
- SetUIElement 1,s
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
-
- if len(s)=0 then
- 'If values exists, delete it
- s=RegReadValue(sPath & sValue)
- if IsEmpty(s)=false then
- Call RegDeleteValue(sPath & sValue)
- end if
- else
- Call RegWriteValue(sPath & sValue,s,1)
- end if
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-